<template>
  <el-menu style="height: 100vh"
          default-active="/home"
           background-color="#545c64"
           text-color="#fff"
           active-text-color="#ffd04b"
           :collapse="iScollapse"
           :collapse-transition="false"
  >
    <el-menu-item index="/home">
      <i class="el-icon-s-home"></i>
      <span slot="title">首页</span>
    </el-menu-item>

    <el-menu-item index="/one">
      <i class="el-icon-s-flag"></i>
      <span slot="title">导航一</span>
    </el-menu-item>

    <el-menu-item index="/tow">
      <i class="el-icon-s-opportunity"></i>
      <span slot="title">导航二</span>
    </el-menu-item>
  </el-menu>
</template>

<script>
export default {
  name: "MyAside",
  data() {
    return {
      // iScollapse: false,
    }
  },
  props: {
    iScollapse: Boolean
  }
}
</script>

<style scoped>

</style>